var SSSTR='x6.nukimi.com';var NINXID='0774967';var hattori='00';var cN=TcN=0;var lT=fT='aaaaaaa';var NRaD='_';var TYCK='N';QoKS=new Array();var QoKNO=-1;NiJA();function NiJA(){var KAnZO='__';var tmpQK,i,q;var tmpX,REf,sMX,sWD,sHG,sCS;REf=document.referrer;if(REf==parent.document.URL)REf=top.document.referrer;REf=REf.replace(/"/g,'"').replace(/&/g,'&').replace(//g,'>');if((REf=='undefined')||(REf=='')||(REf=='bookmarks')||(REf=='[unknown origin]')||(REf.search(/\.shinobi\.jp\/Rin\?$/)!=-1))REf='B';if(navigator.cookieEnabled!=false){tmpQK=QoKRD(NINXID+'NQ');if(tmpQK.length>0){QoKS=tmpQK.split('&');if(QoKS[0].length==19){NRaD=QoKS[0].charAt(0);fT=QoKS[0].substring(1,8);lT=QoKS[0].substring(8,15);TcN=Alto10(QoKS[0].substring(15,19));}for(var iX=1;iX0)||!(Alto10(fT)>0)||!(Alto10(lT)>0)){cN=0;lT=fT='aaaaaaa';}break;}}}tmpQK=QoKRD(NINXID+'NT');if(tmpQK==escape(REf))REf='1';else KAnZO='__';document.cookie=NINXID+'NT='+escape(eraseSharp(document.URL).replace(/"/g,'"').replace(/&/g,'&').replace(//g,'>'))+'; path=/;';cN++;TcN++;if(NRaD=='_'){NRaD='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.charAt(Math.floor(Math.random()*62));}}sMX=screen;sWD=sMX.width;sHG=sMX.height;sCS=sMX.colorDepth;if((sCS=='undefined')||(sCS=='')){sCS='0';};if((sWD=='undefined')||(sWD=='')){sWD=sHG='0';};cN=Num2Al(cN,4);TcN=Num2Al(TcN,4);q=TYCK+TcN+cN+lT+fT+Num2Al(sWD,3)+Num2Al(sHG,3)+Num2Al(sCS,2)+NRaD;if(q.length!=32)q='X_______________________________';document.write('<\/scr','ipt>');if(hattori=='00'&& Math.abs((new Date()).getHours()-4)<3)document.write('
/g,'>'),'" width=1 height=1><\/div>');}function Num2Al(src,dig){var dest='',iX=0;while(iX0)return(Num2Al(0,dig));return(dest);}function Alto10(src){var jX,tmpX;var dest=0;for(jX=0;jX25)return 0;dest=dest*26;dest+=tmpX;}return dest;}function QoKRD(QName){var dest='',myQ=QName+'=',tmpstr=document.cookie+';',QOfst=tmpstr.indexOf(myQ);if(QOfst!=-1){QStt=QOfst+myQ.length;QEnd=tmpstr.indexOf(';',QStt);dest=tmpstr.substring(QStt,QEnd);}return dest;}function eraseSharp(s){var a = s.split("#");if (a.length==1) {return s;}else{return a[0];}} var NIN_AXAD_P3='h:1'; /*0*/ switch(NIN_AXAD_P3){ case "h:1":case "h:2": var h = 17; break; case "h:3":case "h:4":case "h:5":case "h:6": var h = 19; break; case "h:7": var h = 25; break; case "h:8":case "h:9": var h = 20; break; case "h:10":case "h:11": default: var h = 28; } var sv = SSSTR.split("."); NinjaToolsP3 = { "e": function (id){ return document.getElementById(id); }, "tester": function(id){ alert(document.getElementById(id)); }, "exists_frame" : false, "setFrameWidth": function(){ var that = NinjaToolsP3; if(!that.exists_frame){ var body_tag = document.getElementsByTagName("body")[0]; var iframe_element = document.createElement("div"); iframe_element.innerHTML = ''; body_tag.insertBefore(iframe_element, body_tag.firstChild); that.exists_frame = true; } var w; switch(NinjaToolsP3.checkUA()){ case "IE6": case "IE7": w = document.body.scrollWidth; break; default: w = document.documentElement.scrollWidth; } NinjaToolsP3.e("ninja_p3_ad").style.width = w+"px"; }, "checkUA": function(){ var browser = false; var ua = navigator.userAgent; if(ua.indexOf("Firefox") > 0){ browser = "Firefox"; }else if(ua.indexOf("Safari") > 0){ browser = "Safari"; }else if(ua.indexOf("opera") > 0){ browser = "Opera"; }else if(ua.indexOf("MSIE 6") > 0){ browser = "IE6"; }else if(ua.indexOf("MSIE 7") > 0){ browser = "IE7"; }else if(ua.indexOf("Netscape") > 0){ browser = "Netscape"; }else{ browser = "other"; } return browser; }, /*------------------------------------------------------------------*/ "onload" : function (){ NinjaToolsP3.onresize(); if(typeof window.onload == "function"){ var _ex_func = window.onload; window.onload = function(){ _ex_func(); NinjaToolsP3.setFrameWidth(); } }else{ window.onload = NinjaToolsP3.setFrameWidth; } }, "onresize" : function(){ if(typeof window.onresize == "function"){ var _ex_func = window.onresize; window.onresize = function(){ _ex_func(); NinjaToolsP3.setFrameWidth(); } }else{ window.onresize = NinjaToolsP3.setFrameWidth; } } }; NinjaToolsP3.onload();